package com.jsh.erp.feign.system;

import com.jsh.erp.datasource.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="jsh-system", path="/jshERP-boot/remote/api/user", contextId = "UserRemote")
public interface UserRemote {
     @GetMapping("/getCurrentUser")
     User getCurrentUser()throws Exception;
}
